<template>
  <basic-import :columns="columns"
                :api="api"
                :templateUrl="templateUrl"
                templateName="GoodsTypeImport" />
</template>

<script>
import BasicImport from "./BasicImport";
import { goodsType } from "@/api/index";
export default {
  name: "GoodsTypeImport",
  components: { BasicImport },

  data () {
    return {
      columns: [
        {
          label: "物品类型",
          name: "name"
        },
        {
          label: "备注",
          name: "remarks"
        }
      ],
      api: goodsType,
      templateUrl: "/excelTemplate/物品类型导入模版.xlsx"
    };
  },
  methods: {}
};
</script>
